package dao;

import org.apache.ibatis.annotations.Param;
import pojo.Student;
import java.util.List;



public interface StudentDao {
    int count(Student student);
    List<Student> findAll(@Param("student") Student student, @Param("offset")Integer offset, @Param("pageSize") Integer pageSize);
    int add(Student student);
    int update(Student student);
    int delete(Integer sid);
    Student findBySid(Integer sid);
}